package com.oceansoft.core.dao;

import org.springframework.web.multipart.MultipartFile;

import com.oceansoft.core.domain.Accessory;

public interface IAccessoryDao {

	/**
	 * 上传并保存附件
	 * 
	 * @param file
	 * @param honor
	 */
	public void uploadFile(Accessory accessory,MultipartFile file);
	
	/**
	 * 删除附件
	 */
	public int delete(String accessoryId);
	
	/**
	 * 查找附件
	 */
	public Accessory findById(String accessoryId);
	
}
